import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/api/@ohos.bundle.bundleManager.d.ts',
  content: "/*\n * Copyright (c) 2022-2024 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit AbilityKit\n */\nimport { AsyncCallback } from './@ohos.base';\nimport type { ApplicationInfo as _ApplicationInfo, ModuleMetadata as _ModuleMetadata } from './bundleManager/ApplicationInfo';\nimport { Metadata as _Metadata } from './bundleManager/Metadata';\nimport { ElementName as _ElementName } from './bundleManager/ElementName';\nimport Want from './@ohos.app.ability.Want';\nimport * as _AbilityInfo from './bundleManager/AbilityInfo';\nimport * as _BundleInfo from './bundleManager/BundleInfo';\nimport * as _HapModuleInfo from './bundleManager/HapModuleInfo';\nimport * as _ExtensionAbilityInfo from './bundleManager/ExtensionAbilityInfo';\nimport * as _Skill from './bundleManager/Skill';\n/**\n * This module is used to obtain package information of various applications installed on the current device.\n *\n * @namespace bundleManager\n * @syscap SystemCapability.BundleManager.BundleFramework.Core\n * @since 9\n */\n/**\n * This module is used to obtain package information of various applications installed on the current device.\n *\n * @namespace bundleManager\n * @syscap SystemCapability.BundleManager.BundleFramework.Core\n * @atomicservice\n * @since 11\n */\n/**\n * This module is used to obtain package information of various applications installed on the current device.\n *\n * @namespace bundleManager\n * @syscap SystemCapability.BundleManager.BundleFramework.Core\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare namespace bundleManager {\n    /**\n     * Used to query the enumeration value of bundleInfo. Multiple values can be passed in the form.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Used to query the enumeration value of bundleInfo. Multiple values can be passed in the form.\n     * Multiple value input, such as GET_BUNDLE_INFO_DEFAULT | GET_BUNDLE_INFO_WITH_APPLICATION.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Used to query the enumeration value of bundleInfo. Multiple values can be passed in the form.\n     * Multiple value input, such as GET_BUNDLE_INFO_DEFAULT | GET_BUNDLE_INFO_WITH_APPLICATION.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    enum BundleFlag {\n        /**\n         * Used to obtain the default bundleInfo. The obtained bundleInfo does not contain information of\n         * signatureInfo, applicationInfo, hapModuleInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Used to obtain the default bundleInfo. The obtained bundleInfo does not contain information of\n         * signatureInfo, applicationInfo, hapModuleInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Used to obtain the default bundleInfo. The obtained bundleInfo does not contain information of\n         * signatureInfo, applicationInfo, hapModuleInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        GET_BUNDLE_INFO_DEFAULT = 0x00000000,\n        /**\n         * Used to obtain the bundleInfo containing applicationInfo. The obtained bundleInfo does not\n         * contain the information of signatureInfo, hapModuleInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Used to obtain the bundleInfo containing applicationInfo. The obtained bundleInfo does not\n         * contain the information of signatureInfo, hapModuleInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Used to obtain the bundleInfo containing applicationInfo. The obtained bundleInfo does not\n         * contain the information of signatureInfo, hapModuleInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        GET_BUNDLE_INFO_WITH_APPLICATION = 0x00000001,\n        /**\n         * Used to obtain the bundleInfo containing hapModuleInfo. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Used to obtain the bundleInfo containing hapModuleInfo. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Used to obtain the bundleInfo containing hapModuleInfo. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        GET_BUNDLE_INFO_WITH_HAP_MODULE = 0x00000002,\n        /**\n         * Used to obtain the bundleInfo containing ability. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, extensionAbility and permission.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_HAP_MODULE,\n         * such as GET_BUNDLE_INFO_WITH_ABILITY | GET_BUNDLE_INFO_WITH_HAP_MODULE.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Used to obtain the bundleInfo containing ability. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, extensionAbility and permission.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_HAP_MODULE,\n         * such as GET_BUNDLE_INFO_WITH_ABILITY | GET_BUNDLE_INFO_WITH_HAP_MODULE.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Used to obtain the bundleInfo containing ability. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, extensionAbility and permission.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_HAP_MODULE.\n         * such as GET_BUNDLE_INFO_WITH_ABILITY | GET_BUNDLE_INFO_WITH_HAP_MODULE.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        GET_BUNDLE_INFO_WITH_ABILITY = 0x00000004,\n        /**\n         * Used to obtain the bundleInfo containing extensionAbility. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, ability and permission.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_HAP_MODULE,\n         * such as GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY | GET_BUNDLE_INFO_WITH_HAP_MODULE.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Used to obtain the bundleInfo containing extensionAbility. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, ability and permission.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_HAP_MODULE,\n         * such as GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY | GET_BUNDLE_INFO_WITH_HAP_MODULE.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY = 0x00000008,\n        /**\n         * Used to obtain the bundleInfo containing permission. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, hapModuleInfo, extensionAbility and ability.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Used to obtain the bundleInfo containing permission. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, hapModuleInfo, extensionAbility and ability.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Used to obtain the bundleInfo containing permission. The obtained bundleInfo does not\n         * contain the information of signatureInfo, applicationInfo, hapModuleInfo, extensionAbility and ability.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        GET_BUNDLE_INFO_WITH_REQUESTED_PERMISSION = 0x00000010,\n        /**\n         * Used to obtain the metadata contained in applicationInfo, moduleInfo and abilityInfo.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_APPLICATION,\n         * GET_BUNDLE_INFO_WITH_HAP_MODULE, GET_BUNDLE_INFO_WITH_ABILITY, GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Used to obtain the metadata contained in applicationInfo, moduleInfo, abilityInfo and extensionAbility.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_APPLICATION,\n         * GET_BUNDLE_INFO_WITH_HAP_MODULE, GET_BUNDLE_INFO_WITH_ABILITY, GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY,\n         * such as GET_BUNDLE_INFO_WITH_APPLICATION | GET_BUNDLE_INFO_WITH_METADATA\n         * or GET_BUNDLE_INFO_WITH_HAP_MODULE | GET_BUNDLE_INFO_WITH_ABILITY | GET_BUNDLE_INFO_WITH_METADATA\n         * or GET_BUNDLE_INFO_WITH_HAP_MODULE | GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY | GET_BUNDLE_INFO_WITH_METADATA.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Used to obtain the metadata contained in applicationInfo, moduleInfo and abilityInfo.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_APPLICATION,\n         * GET_BUNDLE_INFO_WITH_HAP_MODULE, GET_BUNDLE_INFO_WITH_ABILITY, GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY,\n         * such as GET_BUNDLE_INFO_WITH_APPLICATION | GET_BUNDLE_INFO_WITH_METADATA\n         * or GET_BUNDLE_INFO_WITH_HAP_MODULE | GET_BUNDLE_INFO_WITH_ABILITY | GET_BUNDLE_INFO_WITH_METADATA\n         * or GET_BUNDLE_INFO_WITH_HAP_MODULE | GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY | GET_BUNDLE_INFO_WITH_METADATA.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        GET_BUNDLE_INFO_WITH_METADATA = 0x00000020,\n        /**\n         * Used to obtain the default bundleInfo containing disabled application and ability.\n         * The obtained bundleInfo does not contain information of signatureInfo, applicationInfo,\n         * hapModuleInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Used to obtain the default bundleInfo containing disabled application and ability.\n         * The obtained bundleInfo does not contain information of signatureInfo, applicationInfo,\n         * hapModuleInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Used to obtain the default bundleInfo containing disabled application and ability.\n         * The obtained bundleInfo does not contain information of signatureInfo, applicationInfo,\n         * hapModuleInfo, ability, extensionAbility and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        GET_BUNDLE_INFO_WITH_DISABLE = 0x00000040,\n        /**\n         * Used to obtain the bundleInfo containing signatureInfo. The obtained bundleInfo does not\n         * contain the information of applicationInfo, hapModuleInfo, extensionAbility, ability and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Used to obtain the bundleInfo containing signatureInfo. The obtained bundleInfo does not\n         * contain the information of applicationInfo, hapModuleInfo, extensionAbility, ability and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Used to obtain the bundleInfo containing signatureInfo. The obtained bundleInfo does not\n         * contain the information of applicationInfo, hapModuleInfo, extensionAbility, ability and permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        GET_BUNDLE_INFO_WITH_SIGNATURE_INFO = 0x00000080,\n        /**\n         * Used to obtain the bundleInfo containing menu configuration in hapModuleInfo.\n         * The obtained bundleInfo does not contain the information of applicationInfo, extensionAbility, ability and permission.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_HAP_MODULE,\n         * such as GET_BUNDLE_INFO_WITH_MENU | GET_BUNDLE_INFO_WITH_HAP_MODULE\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        GET_BUNDLE_INFO_WITH_MENU = 0x00000100,\n        /**\n         * Used to obtain the bundleInfo containing router map configuration in hapModuleInfo.\n         * The obtained bundleInfo does not contain the information of applicationInfo, extensionAbility, ability and permission.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_HAP_MODULE,\n         * such as GET_BUNDLE_INFO_WITH_ROUTER_MAP | GET_BUNDLE_INFO_WITH_HAP_MODULE\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 12\n         */\n        GET_BUNDLE_INFO_WITH_ROUTER_MAP = 0x00000200,\n        /**\n         * Used to obtain the skillInfo contained in abilityInfo and extensionInfo.\n         * It can't be used alone, it needs to be used with GET_BUNDLE_INFO_WITH_HAP_MODULE,\n         * GET_BUNDLE_INFO_WITH_ABILITY, GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY,\n         * such as GET_BUNDLE_INFO_WITH_SKILL | GET_BUNDLE_INFO_WITH_HAP_MODULE | GET_BUNDLE_INFO_WITH_ABILITY\n         * or GET_BUNDLE_INFO_WITH_SKILL | GET_BUNDLE_INFO_WITH_HAP_MODULE | GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 12\n         */\n        GET_BUNDLE_INFO_WITH_SKILL = 0x00000800\n    }\n    \n    /**\n     * Used to query the enumeration value of abilityInfo. Multiple values can be passed in the form.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 20\n     */\n    enum AbilityFlag {\n        \n        /**\n         * Used to obtain the default abilityInfo. The obtained abilityInfo does not contain the information of\n         * permission, metadata and disabled abilityInfo.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 20\n         */\n        GET_ABILITY_INFO_DEFAULT = 0x00000000,\n        \n        /**\n         * Used to obtain the abilityInfo containing permission.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 20\n         */\n        GET_ABILITY_INFO_WITH_PERMISSION = 0x00000001,\n        \n        /**\n         * Used to obtain the abilityInfo containing applicationInfo.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 20\n         */\n        GET_ABILITY_INFO_WITH_APPLICATION = 0x00000002,\n        \n        /**\n         * Used to obtain the abilityInfo containing metadata.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 20\n         */\n        GET_ABILITY_INFO_WITH_METADATA = 0x00000004,\n        \n        /**\n         * Used to obtain the abilityInfo containing disabled abilityInfo.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 20\n         */\n        GET_ABILITY_INFO_WITH_DISABLE = 0x00000008,\n        \n        \n        /**\n         * Used to obtain the abilityInfo only for system app.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 20\n         */\n        GET_ABILITY_INFO_ONLY_SYSTEM_APP = 0x00000010,\n        \n        /**\n         * Used to obtain the abilityInfo with domain verification.\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 20\n         */\n        GET_ABILITY_INFO_WITH_APP_LINKING = 0x00000040,\n        \n        /**\n         * Used to obtain the abilityInfo with Skill\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 20\n         */\n        GET_ABILITY_INFO_WITH_SKILL = 0x00000080\n    }\n    /**\n     * This enumeration value is used to identify various types of extension ability\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * This enumeration value is used to identify various types of extension ability\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    export enum ExtensionAbilityType {\n        /**\n         * Indicates extension info with type of form\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates extension info with type of form\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        FORM = 0,\n        /**\n         * Indicates extension info with type of work schedule\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        WORK_SCHEDULER = 1,\n        /**\n         * Indicates extension info with type of input method\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        INPUT_METHOD = 2,\n        /**\n         * Indicates extension info with type of service\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        SERVICE = 3,\n        /**\n         * Indicates extension info with type of accessibility\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        ACCESSIBILITY = 4,\n        /**\n         * Indicates extension info with type of dataShare\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        DATA_SHARE = 5,\n        /**\n         * Indicates extension info with type of filesShare\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        FILE_SHARE = 6,\n        /**\n         * Indicates extension info with type of staticSubscriber\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        STATIC_SUBSCRIBER = 7,\n        /**\n         * Indicates extension info with type of wallpaper\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        WALLPAPER = 8,\n        /**\n         * Indicates extension info with type of backup\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        BACKUP = 9,\n        /**\n         * Indicates extension info with type of window\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        WINDOW = 10,\n        /**\n         * Indicates extension info with type of enterprise admin\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        ENTERPRISE_ADMIN = 11,\n        /**\n         * Indicates extension info with type of thumbnail\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        THUMBNAIL = 13,\n        /**\n         * Indicates extension info with type of preview\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        PREVIEW = 14,\n        /**\n         * Indicates extension info with type of print\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 10\n         */\n        PRINT = 15,\n        /**\n         * Indicates extension info with type of share\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 10\n         */\n        SHARE = 16,\n        /**\n         * Indicates extension info with type of push\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 10\n         */\n        PUSH = 17,\n        /**\n         * Indicates extension info with type of driver\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 10\n         */\n        DRIVER = 18,\n        /**\n         * Indicates extension info with type of action\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 10\n         */\n        ACTION = 19,\n        /**\n         * Indicates extension info with type of ads service\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 11\n         */\n        ADS_SERVICE = 20,\n        /**\n         * Indicates extension info with type of embedded UI\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 12\n         */\n        EMBEDDED_UI = 21,\n        /**\n         * Indicates extension info with type of insight intent UI\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 12\n         */\n        INSIGHT_INTENT_UI = 22,\n        /**\n         * Indicates extension info with type of FENCE\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 18\n         */\n        FENCE = 24,\n        /**\n         * Indicates extension info with type of CALLER_INFO_QUERY\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 19\n         */\n        CALLER_INFO_QUERY = 25,\n        /**\n         * Indicates extension info with type of asset acceleration\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 18\n         */\n        ASSET_ACCELERATION = 26,\n        /**\n         * Indicates extension info with type of form edit\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 18\n         */\n        FORM_EDIT = 27,\n        /**\n         * Indicates extension info with type of app service\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 20\n         */\n        APP_SERVICE = 29,\n        /**\n         * Indicates extension info with type of the live form\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 20\n         * @arkts 1.1&1.2\n         */\n        LIVE_FORM = 30,\n        /**\n         * Indicates extension info with type of unspecified\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        UNSPECIFIED = 255\n    }\n    /**\n     * PermissionGrantState\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * PermissionGrantState\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * PermissionGrantState\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export enum PermissionGrantState {\n        /**\n         * PERMISSION_DENIED\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * PERMISSION_DENIED\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * PERMISSION_DENIED\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        PERMISSION_DENIED = -1,\n        /**\n         * PERMISSION_GRANTED\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * PERMISSION_GRANTED\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * PERMISSION_GRANTED\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        PERMISSION_GRANTED = 0\n    }\n    /**\n     * Support window mode\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Support window mode\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Support window mode\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export enum SupportWindowMode {\n        /**\n         * Indicates supported window mode of full screen mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates supported window mode of full screen mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates supported window mode of full screen mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        FULL_SCREEN = 0,\n        /**\n         * Indicates supported window mode of split mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates supported window mode of split mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates supported window mode of split mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        SPLIT = 1,\n        /**\n         * Indicates supported window mode of floating mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates supported window mode of floating mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates supported window mode of floating mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        FLOATING = 2\n    }\n    /**\n     * Launch type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Launch type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Launch type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    export enum LaunchType {\n        /**\n         * Indicates that the ability has only one instance\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates that the ability has only one instance\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Indicates that the ability has only one instance\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 11\n         */\n        SINGLETON = 0,\n        /**\n         * Indicates that the ability can have multiple instances\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates that the ability can have multiple instances\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Indicates that the ability can have multiple instances\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 11\n         */\n        MULTITON = 1,\n        /**\n         * Indicates that the ability can have specified instances\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates that the ability can have specified instances\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates that the ability can have specified instances\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        SPECIFIED = 2\n    }\n    /**\n     * Indicates ability type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @FAModelOnly\n     * @since 9\n     */\n    export enum AbilityType {\n        /**\n         * Indicates that the ability has a UI\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @FAModelOnly\n         * @since 9\n         */\n        PAGE = 1,\n        /**\n         * Indicates that the ability does not have a UI\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @FAModelOnly\n         * @since 9\n         */\n        SERVICE = 2,\n        /**\n         * Indicates that the ability is used to provide data access services\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @FAModelOnly\n         * @since 9\n         */\n        DATA = 3\n    }\n    /**\n     * Display orientation\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Display orientation\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Display orientation\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export enum DisplayOrientation {\n        /**\n         * Indicates that the system automatically determines the display orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates that the system automatically determines the display orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates that the system automatically determines the display orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        UNSPECIFIED,\n        /**\n         * Indicates the landscape orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the landscape orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the landscape orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        LANDSCAPE,\n        /**\n         * Indicates the portrait orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the portrait orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the portrait orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        PORTRAIT,\n        /**\n         * Indicates the page ability orientation is the same as that of the nearest ability in the stack\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the page ability orientation is the same as that of the nearest ability in the stack\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the page ability orientation is the same as that of the nearest ability in the stack\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        FOLLOW_RECENT,\n        /**\n         * Indicates the inverted landscape orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the inverted landscape orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the inverted landscape orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        LANDSCAPE_INVERTED,\n        /**\n         * Indicates the inverted portrait orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the inverted portrait orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the inverted portrait orientation\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        PORTRAIT_INVERTED,\n        /**\n         * Indicates the orientation can be auto-rotated\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the orientation can be auto-rotated\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the orientation can be auto-rotated\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        AUTO_ROTATION,\n        /**\n         * Indicates the landscape orientation rotated with sensor\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the landscape orientation rotated with sensor\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the landscape orientation rotated with sensor\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        AUTO_ROTATION_LANDSCAPE,\n        /**\n         * Indicates the portrait orientation rotated with sensor\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the portrait orientation rotated with sensor\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the portrait orientation rotated with sensor\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        AUTO_ROTATION_PORTRAIT,\n        /**\n         * Indicates the sensor restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the sensor restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the sensor restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        AUTO_ROTATION_RESTRICTED,\n        /**\n         * Indicates the sensor landscape restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the sensor landscape restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the sensor landscape restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        AUTO_ROTATION_LANDSCAPE_RESTRICTED,\n        /**\n         * Indicates the sensor portrait restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the sensor portrait restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the sensor portrait restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        AUTO_ROTATION_PORTRAIT_RESTRICTED,\n        /**\n         * Indicates the locked orientation mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates the locked orientation mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates the locked orientation mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        LOCKED,\n        /**\n         * Indicates the system automatically determines the sensor restricted mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 12\n         */\n        AUTO_ROTATION_UNSPECIFIED,\n        /**\n         * Indicates the orientation follow the desktop rotate mode\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 12\n         */\n        FOLLOW_DESKTOP\n    }\n    /**\n     * Indicates module type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Indicates module type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Indicates module type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export enum ModuleType {\n        /**\n         * Indicates entry type\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates entry type\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates entry type\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        ENTRY = 1,\n        /**\n         * Indicates feature type\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates feature type\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates feature type\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        FEATURE = 2,\n        /**\n         * Indicates shared type\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates shared type\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        /**\n         * Indicates shared type\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        SHARED = 3\n    }\n    /**\n     * Indicates bundle type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Indicates bundle type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    export enum BundleType {\n        /**\n         * Indicates app\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates app\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        APP = 0,\n        /**\n         * Indicates atomic service\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 9\n         */\n        /**\n         * Indicates atomic service\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        ATOMIC_SERVICE = 1\n    }\n    /**\n     * Shared bundle compatible policy\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 10\n     */\n    /**\n     * Shared bundle compatible policy\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    export enum CompatiblePolicy {\n        /**\n         * Indicates that the app is a shared bundle and the shared bundle type is backward compatibility\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 10\n         */\n        /**\n         * Indicates that the app is a shared bundle and the shared bundle type is backward compatibility\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @atomicservice\n         * @since 11\n         */\n        BACKWARD_COMPATIBILITY = 1\n    }\n    /**\n     * This enumeration value is used to identify various types of extension ability\n     *\n     * @enum { number }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 12\n    */\n    export enum MultiAppModeType {\n        /**\n         * Indicates multi app mode with type of unspecified\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 12\n         */\n        UNSPECIFIED = 0,\n        /**\n         * Indicates multi app mode with type of multiInstance\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 12\n         */\n        MULTI_INSTANCE = 1,\n        /**\n         * Indicates multi app mode with type of appClone\n         *\n         * @syscap SystemCapability.BundleManager.BundleFramework.Core\n         * @since 12\n        */\n        APP_CLONE = 2\n    }\n    /**\n     * Obtains own bundleInfo.\n     *\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @returns { Promise<BundleInfo> } The result of getting the bundle info.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains own bundleInfo.\n     *\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @returns { Promise<BundleInfo> } The result of getting the bundle info.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Obtains own bundleInfo.\n     *\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @returns { Promise<BundleInfo> } The result of getting the bundle info.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    function getBundleInfoForSelf(bundleFlags: number): Promise<BundleInfo>;\n    /**\n     * Obtains own bundleInfo.\n     *\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @param { AsyncCallback<BundleInfo> } callback - The callback of getting bundle info result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains own bundleInfo.\n     *\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @param { AsyncCallback<BundleInfo> } callback - The callback of getting bundle info result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Obtains own bundleInfo.\n     *\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @param { AsyncCallback<BundleInfo> } callback - The callback of getting bundle info result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    function getBundleInfoForSelf(bundleFlags: number, callback: AsyncCallback<BundleInfo>): void;\n    /**\n     * Obtains own bundleInfo.\n     *\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @returns { BundleInfo } The result of getting the bundle info.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 10\n     */\n    /**\n     * Obtains own bundleInfo.\n     *\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @returns { BundleInfo } The result of getting the bundle info.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Obtains own bundleInfo.\n     *\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @returns { BundleInfo } The result of getting the bundle info.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    function getBundleInfoForSelfSync(bundleFlags: number): BundleInfo;\n    /**\n     * Obtains bundleInfo based on bundleName, bundleFlags.\n     * The application requires to be a system application when requesting the permission of ohos.permission.GET_BUNDLE_INFO.\n     *\n     * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO\n     * @param { string } bundleName - Indicates the application bundle name to be queried.\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @param { AsyncCallback<BundleInfo> } callback - The callback of getting bundle info result.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700001 - The specified bundleName is not found.\n     * @throws { BusinessError } 17700026 - The specified bundle is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 14\n     */\n    function getBundleInfo(bundleName: string, bundleFlags: number, callback: AsyncCallback<BundleInfo>): void;\n    /**\n     * Obtains bundleInfo based on bundleName, bundleFlags and userId.\n     * The application requires to be a system application when requesting the permission of ohos.permission.GET_BUNDLE_INFO.\n     *\n     * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO\n     * @param { string } bundleName - Indicates the application bundle name to be queried.\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @param { number } userId - Indicates the user ID or do not pass user ID.\n     * @param { AsyncCallback<BundleInfo> } callback - The callback of getting bundle info result.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700001 - The specified bundleName is not found.\n     * @throws { BusinessError } 17700004 - The specified user ID is not found.\n     * @throws { BusinessError } 17700026 - The specified bundle is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 14\n     */\n    function getBundleInfo(bundleName: string, bundleFlags: number, userId: number, callback: AsyncCallback<BundleInfo>): void;\n    /**\n     * Obtains bundleInfo based on bundleName, bundleFlags and userId.\n     * The application requires to be a system application when requesting the permission of ohos.permission.GET_BUNDLE_INFO.\n     *\n     * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO\n     * @param { string } bundleName - Indicates the application bundle name to be queried.\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo objects that will be returned.\n     * @param { number } userId - Indicates the user ID or do not pass user ID.\n     * @returns { Promise<BundleInfo> } The result of getting the bundle info.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700001 - The specified bundleName is not found.\n     * @throws { BusinessError } 17700004 - The specified user ID is not found.\n     * @throws { BusinessError } 17700026 - The specified bundle is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 14\n     */\n    function getBundleInfo(bundleName: string, bundleFlags: number, userId?: number): Promise<BundleInfo>;\n    /**\n     * Get AbilityInfo by the given uri.\n     *\n     * @permission ohos.permission.GET_ABILITY_INFO\n     * @param { string } uri - Indicates the uri used for matching ability.\n     * @param { number } abilityFlags {@link AbilityFlag} - Indicates the flag used to specify information contained in the AbilityInfo objects that will be returned.\n     * @returns { Promise<Array<AbilityInfo>> } Returns a list of AbilityInfo objects.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 17700003 - The ability is not found.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 20\n     */\n    function getAbilityInfo(uri: string, abilityFlags: number): Promise<Array<AbilityInfo>>;\n    /**\n     * Obtains bundle name by the given uid.\n     * The application requires to be a system application when requesting the permission of ohos.permission.GET_BUNDLE_INFO.\n     *\n     * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO\n     * @param { number } uid - Indicates the UID of an application.\n     * @param { AsyncCallback<string> } callback - The callback of getting bundle name.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700021 - The uid is not found.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 14\n     */\n    function getBundleNameByUid(uid: number, callback: AsyncCallback<string>): void;\n    /**\n     * Obtains bundle name by the given uid.\n     * The application requires to be a system application when requesting the permission of ohos.permission.GET_BUNDLE_INFO.\n     *\n     * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO\n     * @param { number } uid - Indicates the UID of an application.\n     * @returns { Promise<string> } Returns the bundle name.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700021 - The uid is not found.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 14\n     */\n    function getBundleNameByUid(uid: number): Promise<string>;\n    /**\n     * Obtains bundle name by the given uid.\n     * The application requires to be a system application when requesting the permission of ohos.permission.GET_BUNDLE_INFO.\n     *\n     * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO\n     * @param { number } uid - Indicates the UID of an application.\n     * @returns { string } Returns the bundle name.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700021 - The uid is not found.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 14\n     */\n    function getBundleNameByUidSync(uid: number): string;\n    /**\n     * Obtains the Want for starting the main ability of own application.\n     * The main ability of an application is the ability that has the\n     * #ACTION_HOME and #ENTITY_HOME Want filters set in the application's <b>config.json</b> or <b>module.json</b> file.\n     *\n     * @returns { Want } the Want for starting the application's main ability.\n     * @throws { BusinessError } 17700072 - The launch want is not found.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 13\n     */\n    function getLaunchWant(): Want;\n    /**\n     * Obtains the profile designated by metadata name, abilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } abilityName - Indicates the abilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @param { AsyncCallback<Array<string>> } callback - The callback of returning string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified abilityName is not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @throws { BusinessError } 17700029 - The specified ability is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains the profile designated by metadata name, abilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } abilityName - Indicates the abilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @param { AsyncCallback<Array<string>> } callback - The callback of returning string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified abilityName is not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @throws { BusinessError } 17700029 - The specified ability is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    function getProfileByAbility(moduleName: string, abilityName: string, metadataName: string, callback: AsyncCallback<Array<string>>): void;\n    /**\n     * Obtains the profile designated by metadata name, abilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } abilityName - Indicates the abilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @returns { Promise<Array<string>> } Returns string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified abilityName is not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @throws { BusinessError } 17700029 - The specified ability is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains the profile designated by metadata name, abilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } abilityName - Indicates the abilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @returns { Promise<Array<string>> } Returns string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified abilityName is not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @throws { BusinessError } 17700029 - The specified ability is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    function getProfileByAbility(moduleName: string, abilityName: string, metadataName?: string): Promise<Array<string>>;\n    /**\n     * Obtains the profile designated by metadata name, abilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } abilityName - Indicates the abilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @returns { Array<string> } Returns string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified abilityName is not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @throws { BusinessError } 17700029 - The specified ability is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 10\n     */\n    /**\n     * Obtains the profile designated by metadata name, abilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } abilityName - Indicates the abilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @returns { Array<string> } Returns string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified abilityName is not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @throws { BusinessError } 17700029 - The specified ability is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    function getProfileByAbilitySync(moduleName: string, abilityName: string, metadataName?: string): Array<string>;\n    /**\n     * Obtains the profile designated by metadata name, extensionAbilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } extensionAbilityName - Indicates the extensionAbilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @param { AsyncCallback<Array<string>> } callback - The callback of returning string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified extensionAbilityName not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains the profile designated by metadata name, extensionAbilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } extensionAbilityName - Indicates the extensionAbilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @param { AsyncCallback<Array<string>> } callback - The callback of returning string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified extensionAbilityName not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    function getProfileByExtensionAbility(moduleName: string, extensionAbilityName: string, metadataName: string, callback: AsyncCallback<Array<string>>): void;\n    /**\n     * Obtains the profile designated by metadata name, extensionAbilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } extensionAbilityName - Indicates the extensionAbilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @returns { Promise<Array<string>> } Returns string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified extensionAbilityName not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains the profile designated by metadata name, extensionAbilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } extensionAbilityName - Indicates the extensionAbilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @returns { Promise<Array<string>> } Returns string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified extensionAbilityName not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    function getProfileByExtensionAbility(moduleName: string, extensionAbilityName: string, metadataName?: string): Promise<Array<string>>;\n    /**\n     * Obtains the profile designated by metadata name, extensionAbilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } extensionAbilityName - Indicates the extensionAbilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @returns { Array<string> } Returns string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified extensionAbilityName not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 10\n     */\n    /**\n     * Obtains the profile designated by metadata name, extensionAbilityName and moduleName from the current application.\n     *\n     * @param { string } moduleName - Indicates the moduleName of the application.\n     * @param { string } extensionAbilityName - Indicates the extensionAbilityName of the application.\n     * @param { string } metadataName - Indicates the name of metadata in ability.\n     * @returns { Array<string> } Returns string in json-format of the corresponding config file.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700002 - The specified moduleName is not existed.\n     * @throws { BusinessError } 17700003 - The specified extensionAbilityName not existed.\n     * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    function getProfileByExtensionAbilitySync(moduleName: string, extensionAbilityName: string, metadataName?: string): Array<string>;\n    /**\n     * Obtains bundleInfo based on bundleName, bundleFlags and userId.\n     * The application requires to be a system application when requesting the permission of ohos.permission.GET_BUNDLE_INFO.\n     *\n     * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO\n     * @param { string } bundleName - Indicates the application bundle name to be queried.\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo object that will be returned.\n     * @param { number } userId - Indicates the user ID or do not pass user ID.\n     * @returns { BundleInfo } - Returns the BundleInfo object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700001 - The specified bundleName is not found.\n     * @throws { BusinessError } 17700004 - The specified user ID is not found.\n     * @throws { BusinessError } 17700026 - The specified bundle is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 14\n     */\n    function getBundleInfoSync(bundleName: string, bundleFlags: number, userId: number): BundleInfo;\n    /**\n     * Obtains bundleInfo based on bundleName, bundleFlags.\n     * The application requires to be a system application when requesting the permission of ohos.permission.GET_BUNDLE_INFO.\n     *\n     * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO\n     * @param { string } bundleName - Indicates the application bundle name to be queried.\n     * @param { number } bundleFlags {@link BundleFlag} - Indicates the flag used to specify information contained in the BundleInfo object that will be returned.\n     * @returns { BundleInfo } - Returns the BundleInfo object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700001 - The specified bundleName is not found.\n     * @throws { BusinessError } 17700026 - The specified bundle is disabled.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 14\n     */\n    function getBundleInfoSync(bundleName: string, bundleFlags: number): BundleInfo;\n    /**\n     * Check whether the link can be opened.\n     *\n     * @param { string } link - Indicates the link to be opened.\n     * @returns { boolean } Returns true if the link can be opened; returns false otherwise.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700055 - The specified link is invalid.\n     * @throws { BusinessError } 17700056 - The scheme of the specified link is not in the querySchemes.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 12\n     */\n    function canOpenLink(link: string): boolean;\n    /**\n     * Get the SignatureInfo of the application through UID.\n     *\n     * @permission ohos.permission.GET_SIGNATURE_INFO\n     * @param { number } uid - Indicates the UID of an application.\n     * @returns { SignatureInfo } The result of getting the signature info.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 17700021 - The uid is not found.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 18\n     */\n    function getSignatureInfo(uid: number): SignatureInfo;\n    /**\n     * Obtains AppCloneIdentity contains bundleName and appIndex by the given uid.\n     * The application requires to be a system application when requesting the permission of ohos.permission.GET_BUNDLE_INFO.\n     *\n     * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO\n     * @param { number } uid - Indicates the UID of an application.\n     * @returns { Promise<AppCloneIdentity> } Returns the clone Identity contains bundleName and appIndex.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types.\n     * @throws { BusinessError } 17700021 - The uid is not found.\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 14\n     */\n    function getAppCloneIdentity(uid: number): Promise<AppCloneIdentity>;\n    /**\n     * Obtains configuration information about an application.\n     *\n     * @typedef { _ApplicationInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains configuration information about an application.\n     *\n     * @typedef { _ApplicationInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Obtains configuration information about an application.\n     *\n     * @typedef { _ApplicationInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type ApplicationInfo = _ApplicationInfo;\n    /**\n     * Indicates the metadata information about a module.\n     *\n     * @typedef { _ModuleMetadata }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 10\n     */\n    /**\n     * Indicates the metadata information about a module.\n     *\n     * @typedef { _ModuleMetadata }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Indicates the metadata information about a module.\n     *\n     * @typedef { _ModuleMetadata }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type ModuleMetadata = _ModuleMetadata;\n    /**\n     * Indicates the Metadata.\n     *\n     * @typedef { _Metadata }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Indicates the Metadata.\n     *\n     * @typedef { _Metadata }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Indicates the Metadata.\n     *\n     * @typedef { _Metadata }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type Metadata = _Metadata;\n    /**\n     * Obtains configuration information about a bundle.\n     *\n     * @typedef { _BundleInfo.BundleInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains configuration information about a bundle.\n     *\n     * @typedef { _BundleInfo.BundleInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Obtains configuration information about a bundle.\n     *\n     * @typedef { _BundleInfo.BundleInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type BundleInfo = _BundleInfo.BundleInfo;\n    /**\n     * The scene which is used.\n     *\n     * @typedef { _BundleInfo.UsedScene }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * The scene which is used.\n     *\n     * @typedef { _BundleInfo.UsedScene }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * The scene which is used.\n     *\n     * @typedef { _BundleInfo.UsedScene }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type UsedScene = _BundleInfo.UsedScene;\n    /**\n     * Indicates the required permissions details defined in file config.json.\n     *\n     * @typedef { _BundleInfo.ReqPermissionDetail }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Indicates the required permissions details defined in file config.json.\n     *\n     * @typedef { _BundleInfo.ReqPermissionDetail }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Indicates the required permissions details defined in file config.json.\n     *\n     * @typedef { _BundleInfo.ReqPermissionDetail }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type ReqPermissionDetail = _BundleInfo.ReqPermissionDetail;\n    /**\n     * Indicates the SignatureInfo.\n     *\n     * @typedef { _BundleInfo.SignatureInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Indicates the SignatureInfo.\n     *\n     * @typedef { _BundleInfo.SignatureInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Indicates the SignatureInfo.\n     *\n     * @typedef { _BundleInfo.SignatureInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type SignatureInfo = _BundleInfo.SignatureInfo;\n    /**\n     * AppCloneIdentity Contain BundleName and appIndex.\n     *\n     * @typedef { _BundleInfo.AppCloneIdentity }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 15\n     */\n    export type AppCloneIdentity = _BundleInfo.AppCloneIdentity;\n    /**\n     * Obtains configuration information about a module.\n     *\n     * @typedef { _HapModuleInfo.HapModuleInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains configuration information about a module.\n     *\n     * @typedef { _HapModuleInfo.HapModuleInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Obtains configuration information about a module.\n     *\n     * @typedef { _HapModuleInfo.HapModuleInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type HapModuleInfo = _HapModuleInfo.HapModuleInfo;\n    /**\n     * Obtains preload information about a module.\n     *\n     * @typedef { _HapModuleInfo.PreloadItem }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains preload information about a module.\n     *\n     * @typedef { _HapModuleInfo.PreloadItem }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    export type PreloadItem = _HapModuleInfo.PreloadItem;\n    /**\n     * Obtains dependency information about a module.\n     *\n     * @typedef { _HapModuleInfo.Dependency }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains dependency information about a module.\n     *\n     * @typedef { _HapModuleInfo.Dependency }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    export type Dependency = _HapModuleInfo.Dependency;\n    /**\n     * Obtains the router item about a module.\n     *\n     * @typedef { _HapModuleInfo.RouterItem}\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 12\n     */\n    export type RouterItem = _HapModuleInfo.RouterItem;\n    /**\n     * Obtains the data item within router item.\n     *\n     * @typedef { _HapModuleInfo.DataItem }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 12\n     */\n    export type DataItem = _HapModuleInfo.DataItem;\n    /**\n     * Obtains configuration information about an ability.\n     *\n     * @typedef { _AbilityInfo.AbilityInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains configuration information about an ability.\n     *\n     * @typedef { _AbilityInfo.AbilityInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Obtains configuration information about an ability.\n     *\n     * @typedef { _AbilityInfo.AbilityInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type AbilityInfo = _AbilityInfo.AbilityInfo;\n    /**\n     * Contains basic Ability information. Indicates the window size..\n     *\n     * @typedef { _AbilityInfo.WindowSize }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Contains basic Ability information. Indicates the window size..\n     *\n     * @typedef { _AbilityInfo.WindowSize }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Contains basic Ability information. Indicates the window size..\n     *\n     * @typedef { _AbilityInfo.WindowSize }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    export type WindowSize = _AbilityInfo.WindowSize;\n    /**\n     * Obtains extension information about a bundle.\n     *\n     * @typedef { _ExtensionAbilityInfo.ExtensionAbilityInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Obtains extension information about a bundle.\n     *\n     * @typedef { _ExtensionAbilityInfo.ExtensionAbilityInfo }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    export type ExtensionAbilityInfo = _ExtensionAbilityInfo.ExtensionAbilityInfo;\n    /**\n     * Contains basic Ability information, which uniquely identifies an ability.\n     *\n     * @typedef { _ElementName }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @since 9\n     */\n    /**\n     * Contains basic Ability information, which uniquely identifies an ability.\n     *\n     * @typedef { _ElementName }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 11\n     */\n    export type ElementName = _ElementName;\n    /**\n     * Obtains configuration information about an skill\n     *\n     * @typedef { _Skill.Skill }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 12\n     */\n    export type Skill = _Skill.Skill;\n    /**\n     * Obtains configuration information about an skillUri\n     *\n     * @typedef { _Skill.SkillUri }\n     * @syscap SystemCapability.BundleManager.BundleFramework.Core\n     * @atomicservice\n     * @since 12\n     */\n    export type SkillUrl = _Skill.SkillUri;\n}\nexport default bundleManager;\n",
}
export default FILE;